package com.gaobug.platform.dto;

import com.gaobug.verify.Verify;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @TableName t_comment_info
 */
@Getter
@Setter
@ToString
public class CommentDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @Verify(defaultValue = "0")
    private Long linkId;

    @Verify(required = true, value = "文章标识必填")
    private Long articleId;

    @Verify(required = true, errorMsg = "评论内容不能为空")
    private String context;

}